package com.kakarote.ids.provider.entity.BO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

@ApiModel("部门查询BO")
public class DeptQueryBO {
    @ApiModelProperty("父级ID")
    private Long parentId;

    @ApiModelProperty("类型")
    @NotBlank(message = "类型不能为空")
    private String type;

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getParentId() {
        return this.parentId;
    }

    public String getType() {
        return this.type;
    }
}
